package com.ruoyi.report_jl.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import lombok.Data;
import java.util.Date;



/**
 * 粗集料坚固性、软弱颗粒含量试验检测记录详情视图对象 report_jl_cjljgxrrkljlb_ba_detail
 *
 * @author tll
 * @date 2024-05-23
 */
@Data
@ExcelIgnoreUnannotated
public class ReportJlCjljgxrrkljlbBaDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long detailId;

    /**
     * 主表id
     */
    @ExcelProperty(value = "主表id")
    private Long excelId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 坚固性试验公称粒级（mm）
     */
    @ExcelProperty(value = "坚固性试验公称粒级", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=m")
    private BigDecimal jiangxsygclj;

    /**
     * 坚固性试验各粒级试样试验前的烘干质量mi（g）
     */
    @ExcelProperty(value = "坚固性试验各粒级试样试验前的烘干质量mi", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal jiangxsygljsysyqhgzl;

    /**
     * 坚固性试验试验后各粒级筛余颗粒的烘干质量mi（g）
     */
    @ExcelProperty(value = "坚固性试验试验后各粒级筛余颗粒的烘干质量mi", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal jiangxsyhgljsyklhgzl;

    /**
     * 坚固性试验各粒级试样的分计质量损失百分率（%）
     */
    @ExcelProperty(value = "坚固性试验各粒级试样的分计质量损失百分率", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal jiangxsygljfjzlssbfl;

    /**
     * 坚固性试验试样中各粒级的分计质量mi（g）
     */
    @ExcelProperty(value = "坚固性试验试样中各粒级的分计质量mi", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal jiangxsygljfjzl;

    /**
     * 坚固性试验试样的总质量
     */
    @ExcelProperty(value = "坚固性试验试样的总质量")
    private BigDecimal jiangxsysyzzl;

    /**
     * 坚固性试验损失百分率（%）
     */
    @ExcelProperty(value = "坚固性试验损失百分率", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal jiangxsyssbfl;

    public void setJiangxsygclj(BigDecimal jiangxsygclj) {
        this.jiangxsygclj = BigDecimalUtil.stpTrailZero(jiangxsygclj);
    }

    public void setJiangxsygljsysyqhgzl(BigDecimal jiangxsygljsysyqhgzl) {
        this.jiangxsygljsysyqhgzl = BigDecimalUtil.stpTrailZero(jiangxsygljsysyqhgzl);
    }

    public void setJiangxsyhgljsyklhgzl(BigDecimal jiangxsyhgljsyklhgzl) {
        this.jiangxsyhgljsyklhgzl = BigDecimalUtil.stpTrailZero(jiangxsyhgljsyklhgzl);
    }

    public void setJiangxsygljfjzlssbfl(BigDecimal jiangxsygljfjzlssbfl) {
        this.jiangxsygljfjzlssbfl = BigDecimalUtil.stpTrailZero(jiangxsygljfjzlssbfl);
    }

    public void setJiangxsygljfjzl(BigDecimal jiangxsygljfjzl) {
        this.jiangxsygljfjzl = BigDecimalUtil.stpTrailZero(jiangxsygljfjzl);
    }

    public void setJiangxsysyzzl(BigDecimal jiangxsysyzzl) {
        this.jiangxsysyzzl = BigDecimalUtil.stpTrailZero(jiangxsysyzzl);
    }

    public void setJiangxsyssbfl(BigDecimal jiangxsyssbfl) {
        this.jiangxsyssbfl = BigDecimalUtil.stpTrailZero(jiangxsyssbfl);
    }
}
